package com.demo.config;

import org.springframework.stereotype.Component;

/**
 * created by yehao on 2018/7/19.
 */
@Component
public class TestBean {
    private String username;
    private String url;
    private String pwd;

    public void sayHello(){
        System.out.println("TestBean sayHello");
    }

    public String toString(){
        return "username:"+this.username+"url:"+this.url+"pwd:"+this.url;
    }

    public void start(){
        System.out.println("TestBean 初始化。。。");
    }

    public  void end(){
        System.out.println("TestBean 销毁。。。");
    }


}
